#ifndef __ALGSM4_PR_H__
#define __ALGSM4_PR_H__

	#define SM4_ENCRYPT 1
	#define SM4_DECRYPT 2 

	#define SM4_CBC 1
	#define SM4_ECB 2
	#define SM4_CFB 3
	#define SM4_OFB 4

	extern UINT8 ALGSm4_PR_Run(UINT8 nType,UINT8 nMode,UINT8* pIn,UINT8* pOut,UINT16 nDataLen,UINT8* pKey,UINT8* pIV);

#endif
